## Subversion tag :
## $Id: Makefile 52 2007-05-30 16:34:55Z DarkAn9el $

CC=g++

# Choose debugging or release version
CFLAGS=-O0 -Wall -g3
#CFLAGS= -O2

EXE=calc
SRCS=conversions.cpp main.cpp

LDFLAGS=

LIBS=-lm

OBJS=$(SRCS:.c=.o)

all:	svnrev.h mainprog

mainprog:	$(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) -o $(EXE) $(OBJS)

.c.o:	
#	$(CC) $(CFLAGS) $(GTK_INCLUDE) $(LDFLAGS) $(LIBS)  -c $<
	$(CC) $(CFLAGS) $(GTK_INCLUDE)  -c $<

svnrev.h: $(SRCS)
	./svnrev $?

clean:
	rm $(EXE) svnrev.h
